package com.example.innospace.demos.pojo.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Entity
@Table(name = "project_score")
// 项目评分类
public class ProjectScore {
    @Id
    private Long id; // 评分ID
    private int projectId; // 项目ID
    private int phaseId; // 阶段ID
    private String teacherId; // 教师ID
    private BigDecimal score; // 评分
    private String comment; // 评语
    private LocalDateTime createTime; // 评分时间

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    // Getters and Setters
    // ...
}